FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER Chen jia lin

RUN mkdir -p /Artificialintelligence/server
RUN mkdir -p /Artificialintelligence/server/logs

WORKDIR /Artificialintelligence/server

EXPOSE 8080

ADD ./target/artificialintelligenceadmin.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
